package com.srs.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Partsinventory entity. @author MyEclipse Persistence Tools
 */

public class Partsinventory implements java.io.Serializable {

	// Fields

	private Integer partsInventoryId;
	private Typedictionary typedictionary;
	private String partsNames;
	private Integer partsCount;
	private String partsPurpose;
	private Set accessorystocks = new HashSet(0);

	// Constructors

	/** default constructor */
	public Partsinventory() {
	}

	/** minimal constructor */
	public Partsinventory(Typedictionary typedictionary, String partsNames,
			Integer partsCount, String partsPurpose) {
		this.typedictionary = typedictionary;
		this.partsNames = partsNames;
		this.partsCount = partsCount;
		this.partsPurpose = partsPurpose;
	}

	/** full constructor */
	public Partsinventory(Typedictionary typedictionary, String partsNames,
			Integer partsCount, String partsPurpose, Set accessorystocks) {
		this.typedictionary = typedictionary;
		this.partsNames = partsNames;
		this.partsCount = partsCount;
		this.partsPurpose = partsPurpose;
		this.accessorystocks = accessorystocks;
	}

	// Property accessors

	public Integer getPartsInventoryId() {
		return this.partsInventoryId;
	}

	public void setPartsInventoryId(Integer partsInventoryId) {
		this.partsInventoryId = partsInventoryId;
	}

	public Typedictionary getTypedictionary() {
		return this.typedictionary;
	}

	public void setTypedictionary(Typedictionary typedictionary) {
		this.typedictionary = typedictionary;
	}

	public String getPartsNames() {
		return this.partsNames;
	}

	public void setPartsNames(String partsNames) {
		this.partsNames = partsNames;
	}

	public Integer getPartsCount() {
		return this.partsCount;
	}

	public void setPartsCount(Integer partsCount) {
		this.partsCount = partsCount;
	}

	public String getPartsPurpose() {
		return this.partsPurpose;
	}

	public void setPartsPurpose(String partsPurpose) {
		this.partsPurpose = partsPurpose;
	}

	public Set getAccessorystocks() {
		return this.accessorystocks;
	}

	public void setAccessorystocks(Set accessorystocks) {
		this.accessorystocks = accessorystocks;
	}

}